<?
header('Content-type: text/xml');
include_once (dirname(__FILE__) . '/libs/database/db.php');
?>
<data>
<?
$sql = "SELECT * FROM " . TB_CONFIG;
$result = mysql_query($sql);

while ($row = mysql_fetch_array($result)) {
	$id = $row['ID'];
	$prj_id = $row['PRJ_ID'];
	$color = $row['COLOR'];
	$icon = $row['ICON'];
	$tape_image = $row['TAPE_IMAGE'];
	$title_link = $row['TITLE_LINK'];
?>
<item>
	<id><?=$id?></id>
	<prj_id><?=$prj_id?></prj_id>
	<color><?=$color?></color>
	<icon><?=$icon?></icon>
	<tape_image><?=$tape_image?></tape_image>
	<title_link><?=$title_link?></title_link>
</item>
<?


}
?>  
</data>